package com.tanhua.dubbo.api;

import com.tanhua.model.domain.User;

/**
 * @author ck
 * @date 2021/11/10 20:46
 */
public interface UserApi {
    //根据手机号码查询用户
    User findByMobile(String mobile);

    //保存用户返回用户id
    Long save(User user);

    User getUser(Long userId);

    void update(User user);

    User findByHuanXin(String huanxinId);
}
